const mongoose = require('./db')

const userSchema = new mongoose.Schema({
  username: String,
  password: String
})

const userModel = mongoose.model('user', userSchema, 'user')

// userModel.create({
//   username: 'admin',
//   password: '123456'
// })
module.exports = { userModel }